package com.el.test;

import com.el.event.Event;
import com.el.event.EventFactory;

public class FakeProcessor2 {
    private static final Event logEvent = EventFactory.getEvent("fakeProcessor2:process2");
    
    
    private TestBuilder builder;
    
    public void setBuilder(TestBuilder builder) {
        this.builder = builder;
    }

    public void process2(int x) {
    
        try {
            logEvent.logStart();
            builder.build();
        } finally {
            logEvent.logEnd();
        }
        
    }
}
